package com.kettle.model.datalog;

import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@TableName("t_kettle_logs")
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Datalog",description="操作日志信息")
public class Datalog extends Model<Datalog>{
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="编号",example = "1")
	@TableId(value = "xh")
	private String id;
	@ApiModelProperty(value="工作名称",example = "jobname")
	private String jobname;
	@ApiModelProperty(value="工作组名",example = "jobgroup")
	private String jobgroupname;
	
	@ApiModelProperty(value="开始时间",example = "2020-05-10 10:10:10")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Timestamp kssj;
	
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value="结束时间",example = "2020-05-10 10:12:10")
	private Timestamp jssj;
	
	@ApiModelProperty(value="类型代码",example = "1")
	private String lxdm;
	@ApiModelProperty(value="执行类别",example = "1")
	private String zxlb;
	@ApiModelProperty(value="操作状态",example = "1")
	private String czzt;
	@ApiModelProperty(value="执行标志",example = "1")
	private String zxbz;
	@ApiModelProperty(value="日志详情",example = "日志详情")
	private String logs;
}
